package model;

import java.io.Serializable;
import java.util.List;

public class Contacts implements Serializable{
	private List<User> contact_List;
	private int id;
	
	public Contacts(int id, List<User> contact_List) {
		this.contact_List = contact_List;
		this.id = id;
	}

	public List<User> getContact_List() {
		return contact_List;
	}

	public void setContact_List(List<User> contact_List) {
		this.contact_List = contact_List;
	}

	public int getId() {
		return id;
	}
	
	public void addContact(User user)
	{
		contact_List.add(user);
	}
}
